﻿using System.Collections.Generic;
using DataBaseLayer.Dto;

namespace DataBaseLayer.Abstractions.Interfaces.Services
{
	public interface INewsService
	{
		NewsData GetNewsById(int newsId);

		IEnumerable<NewsData> GetNews();

		void SaveNews(NewsData entity, int totalNewsCapasity);

		void DeleteNews(int id);
	}
}
